package gdut.imis.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;

/**
 * @Description
 * @Author JiaFu
 * @Date 2023/4/7 15:17
 */
public enum ClubInstitutionEnum {
    CLUB(0, "社团"),
    ORGANIZATION(1, "机构");

    @EnumValue
    private final int type;
    @JsonValue
    private final String value;

    ClubInstitutionEnum(int type, String value) {
        this.type = type;
        this.value = value;
    }

    public int getType() {
        return type;
    }

    public String getValue() {
        return value;
    }
}
